package com.xxd.spring.boot.demo.zhuhongbing.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

public class Student {
    private int id;
    private int num;
    private String name;
    private String sex;
    @TableField
    private String address;
    @TableField
    private int classesId;
    @TableField(exist = false)
    private String classesNickName;
    @TableField(exist = false)
    private int classesCode;
    private int age;
    private String status;
    @TableField(fill= FieldFill.INSERT)
    private String createBy;
    @TableField(fill= FieldFill.INSERT)
    private String createTime;
    @TableField(fill= FieldFill.UPDATE)
    private String updateBy;
    @TableField(fill= FieldFill.UPDATE)
    private String updateTime;

    public String getClassesNickName() {
        return classesNickName;
    }

    public void setClassesNickName(String classesNickName) {
        this.classesNickName = classesNickName;
    }

    public int getClassesCode() {
        return classesCode;
    }

    public void setClassesCode(int classesCode) {
        this.classesCode = classesCode;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getClassesId() {
        return classesId;
    }

    public void setClassesId(int classesId) {
        this.classesId = classesId;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
